package com.lee.init.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author youzh
 */
@Data
public class CustomerCredit {
    private Long id;
    private String loginName;
    private Integer creditType;
    private BigDecimal amount;
    private String createBy;
    private Timestamp createTime;
    private Timestamp updateTime;
    private String updateBy;

    public CustomerCredit(){}

    public CustomerCredit(String loginName, BigDecimal amount, String createBy, String updateBy) {
        this.loginName = loginName;
        this.amount = amount;
        this.createBy = createBy;
        this.updateBy = updateBy;
    }
}
